{% extends "base.html" %}
{% block title %}
Incollo.com - a free collaborative debugging tool - View Last Pastes
{% endblock %}

{% block center %}
<h1>最新张贴</h1>
<div class="highlight">
    {% if entries %}
        {% for entry in entries %}
        <ul>
            {% ifequal entry.title '' %}
                    <li style="paste_title"><a href="{{entry.get_absolute_url}}">Untitled Paste</a></li>
            {% else %}
                    <li style="paste_title"><a href="{{entry.get_absolute_url}}">{{entry.title}}</a></li>
            {% endifequal %}
                
            <li>{{entry.body|truncatewords:20}}</li>
        </ul>
        {% endfor %}
    {% else %}
        It seems that there are no public pastes..
    {% endif %}
</div>
{% endblock %}